package io.bdmc.modules.bss.service.impl;

import java.util.HashMap;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.bdmc.modules.bss.model.DeviceAlarmTypeParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import io.bdmc.common.utils.MyPage;
import io.bdmc.modules.bss.entity.DeviceAlarmType;
import io.bdmc.modules.bss.mapper.DeviceAlarmTypeMapper;
import io.bdmc.modules.bss.service.IDeviceAlarmTypeService;

/**
 * <p>
 * 设备报警类型表 服务实现类
 * </p>
 *
 * @author 黄露
 * @since 2020-08-11
 */
@Service
public class DeviceAlarmTypeServiceImpl extends ServiceImpl<DeviceAlarmTypeMapper, DeviceAlarmType>
        implements IDeviceAlarmTypeService {
    @Autowired
    DeviceAlarmTypeMapper _devicealarmtypeMapper;

    @Override
    public MyPage<DeviceAlarmType> mySelectPage(MyPage<DeviceAlarmType> myPage, DeviceAlarmTypeParam param) {
        return _devicealarmtypeMapper.mySelectPage(myPage,param);
    }

    @Override
    public List<HashMap<String,Object>> combo() {
        return _devicealarmtypeMapper.combo();
    }
}
